package com.note.simpleshop.module.goods.dao;

import com.note.simpleshop.entity.TbSpecOption;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface SpecOptionRepository extends JpaRepository<TbSpecOption, String>, JpaSpecificationExecutor<TbSpecOption> {
    List<TbSpecOption> findByGoodsIdAndSpecId(String goodsId,String specId);
}
